#include<stdio.h>
#include<math.h>
int main()
{
	int a,b,c,m;
	scanf("%d %d %d",&a,&b,&c);
	m=a;
	m=(abs(a)>=abs(b))?a:b;
	m=(abs(m)>=abs(c))?m:c;
	printf("%d",m);
	return 0;
	
	
	
}
